package com.avic.enums;

/**
 * @author zhangzikang
 * @date 2022-08-14
 */
public enum AlarmEnum {

    ONE(1,"报警"),THREE(3, "任务类型"),SIX(6, "AGV报警"),SEVEN(7,"报警信息"),EIGHT(8,"告警信息"),
    THIRTEEN(13,"不生成任务类型记录"), TWENTY_TWO(22, "设备运行状态"),TWENTY_ONE(21,"设备健康状态"),TWENTY_THREE(23,"X"),
    FOURTEEN(14,"故障预测"),FIFTEEN(15,"维护策略"),TWENTY_FOUR(24,"Y"),TWENTY_Five(25,"Z");
    private String message;// 别名
    private Integer code; // 值

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    AlarmEnum(Integer code, String message) {
        this.message = message;
        this.code = code;
    }
}
